package cn.jobstart.modelDesc;

import lombok.Data;
import cn.jobstart.model.Admin;


import cn.jobstart.enums.AdminRoleIdEnum;
import cn.jobstart.enums.AdminShowFlagEnum;
import cn.jobstart.enums.AdminDelFlagEnum;

/**
*    @author sunke
*    @Date 2023-09-22 22:03:49
*    @description AdminDesc      系统用户
*/
@Data
public class AdminDesc extends Admin {


    private String roleIdDesc;
    private String showFlagDesc;
    private String delFlagDesc;

    public String getRoleIdDesc() {
        roleIdDesc=AdminRoleIdEnum.getDescByType(getRoleId());
        return roleIdDesc;
    }
    public String getShowFlagDesc() {
        showFlagDesc=AdminShowFlagEnum.getDescByType(getShowFlag());
        return showFlagDesc;
    }
    public String getDelFlagDesc() {
        delFlagDesc=AdminDelFlagEnum.getDescByType(getDelFlag());
        return delFlagDesc;
    }
}

